package com.education.platform.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 通义千问配置类
 */
@Configuration
@ConfigurationProperties(prefix = "qwen")
@Data
public class QwenConfig {
    
    /**
     * API密钥
     */
    private String apiKey;
    
    /**
     * 模型名称
     */
    private String model;
    
    /**
     * API基础URL
     */
    private String baseUrl;
    
    /**
     * 最大token数
     */
    private Integer maxTokens = 2000;
}

